<?php
include 'cont.php';

		$eventCategory = mysql_real_escape_string($_POST['category']);
        $eventName = mysql_real_escape_string($_POST['eventname']);
		$eventDes = mysql_real_escape_string($_POST['eventdes']);
		$eventLoc = mysql_real_escape_string($_POST['eventloc']);
		$eventPlace = mysql_real_escape_string($_POST['eventplace']);
		$date = mysql_real_escape_string($_POST['date']);
		
		
        mysql_query("INSERT INTO e_vent (cat_event,e_ventname, des_event, loc_event, place_event, date) VALUES ('$eventCategory','$eventName','$eventDes','$eventLoc','$eventPlace','$date')");
        mysql_close($connection);
        echo "SUCCESS";
?>